/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package simutanque;

/**
 *
 * @author Augusto Wolf
 */
public class PainelComparaTanques extends javax.swing.JPanel {

    /**
     * Creates new form PainelComparaTanques
     */
    public PainelComparaTanques() {
        initComponents();
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jProgressBar1 = new javax.swing.JProgressBar(javax.swing.JProgressBar.VERTICAL);
        jftfVolumeAtual = new javax.swing.JFormattedTextField();
        jftfTemperaturaAtual = new javax.swing.JFormattedTextField();
        jftfPhAtual = new javax.swing.JFormattedTextField();
        jftfVazaoDeSaida = new javax.swing.JFormattedTextField();
        jftfVazaoDeEntrada = new javax.swing.JFormattedTextField();
        jftfTemperaturaDeEntrada = new javax.swing.JFormattedTextField();
        jftfPhDeEntrada = new javax.swing.JFormattedTextField();
        jlNome = new javax.swing.JLabel();
        jlTempo = new javax.swing.JLabel();
        jcbTipoFuncao = new javax.swing.JComboBox();

        setMaximumSize(new java.awt.Dimension(200, 99999));
        setMinimumSize(new java.awt.Dimension(100, 400));

        jftfVolumeAtual.setEditable(false);
        jftfVolumeAtual.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.NumberFormatter(new java.text.DecimalFormat("#,##0.00"))));
        jftfVolumeAtual.setToolTipText("Volume Atual");

        jftfTemperaturaAtual.setEditable(false);
        jftfTemperaturaAtual.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.NumberFormatter(new java.text.DecimalFormat("#,##0.00"))));
        jftfTemperaturaAtual.setToolTipText("TemperaturaAtual");

        jftfPhAtual.setEditable(false);
        jftfPhAtual.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.NumberFormatter(new java.text.DecimalFormat("#,##0.00"))));
        jftfPhAtual.setToolTipText("PH Atual");

        jftfVazaoDeSaida.setEditable(false);
        jftfVazaoDeSaida.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.NumberFormatter(new java.text.DecimalFormat("#,##0.00"))));
        jftfVazaoDeSaida.setToolTipText("Vazão de Saída");

        jftfVazaoDeEntrada.setEditable(false);
        jftfVazaoDeEntrada.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.NumberFormatter(new java.text.DecimalFormat("#,##0.00"))));
        jftfVazaoDeEntrada.setToolTipText("Vazão de Entrada");

        jftfTemperaturaDeEntrada.setEditable(false);
        jftfTemperaturaDeEntrada.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.NumberFormatter(new java.text.DecimalFormat("#,##0.00"))));
        jftfTemperaturaDeEntrada.setToolTipText("Temperatura de Entrada");

        jftfPhDeEntrada.setEditable(false);
        jftfPhDeEntrada.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.NumberFormatter(new java.text.DecimalFormat("#,##0.00"))));
        jftfPhDeEntrada.setToolTipText("PH de Entrada");

        jlNome.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jlNome.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);

        jlTempo.setText("a");
        jlTempo.setToolTipText("Tempo de Simulação");

        jcbTipoFuncao.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Linear", "Senoidal", "Quadrática", "| Senoidal |", "Triangular", "-" }));
        jcbTipoFuncao.setSelectedIndex(5);
        jcbTipoFuncao.setEnabled(false);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jlNome, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jftfPhAtual, javax.swing.GroupLayout.DEFAULT_SIZE, 76, Short.MAX_VALUE)
                    .addComponent(jftfVolumeAtual)
                    .addComponent(jftfTemperaturaAtual)
                    .addComponent(jProgressBar1, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)
                    .addComponent(jftfVazaoDeSaida)
                    .addComponent(jftfVazaoDeEntrada)
                    .addComponent(jftfTemperaturaDeEntrada)
                    .addComponent(jftfPhDeEntrada)
                    .addComponent(jlTempo, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jcbTipoFuncao, 0, 0, Short.MAX_VALUE))
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addComponent(jlNome, javax.swing.GroupLayout.PREFERRED_SIZE, 22, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jProgressBar1, javax.swing.GroupLayout.DEFAULT_SIZE, 137, Short.MAX_VALUE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jftfVolumeAtual, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jftfTemperaturaAtual, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jftfPhAtual, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jftfVazaoDeSaida, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jcbTipoFuncao, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jftfVazaoDeEntrada, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jftfTemperaturaDeEntrada, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jftfPhDeEntrada, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jlTempo)
                .addContainerGap())
        );
    }// </editor-fold>//GEN-END:initComponents
    // Variables declaration - do not modify//GEN-BEGIN:variables
    public javax.swing.JProgressBar jProgressBar1;
    public javax.swing.JComboBox jcbTipoFuncao;
    public javax.swing.JFormattedTextField jftfPhAtual;
    public javax.swing.JFormattedTextField jftfPhDeEntrada;
    public javax.swing.JFormattedTextField jftfTemperaturaAtual;
    public javax.swing.JFormattedTextField jftfTemperaturaDeEntrada;
    public javax.swing.JFormattedTextField jftfVazaoDeEntrada;
    public javax.swing.JFormattedTextField jftfVazaoDeSaida;
    public javax.swing.JFormattedTextField jftfVolumeAtual;
    public javax.swing.JLabel jlNome;
    public javax.swing.JLabel jlTempo;
    // End of variables declaration//GEN-END:variables
}
